package lab02.test35;

public class Test35 {
    public static void main(String[] args) {
        Manager wangWu = new Manager();
        wangWu.setInformation("小王", 35);
        wangWu.setSalary(7000);
        wangWu.getInformation();
        wangWu.getSalary();
        wangWu.computeSalary();

        System.out.println();
        Salesman liSi = new Salesman();
        liSi.setInformation("小李", 16);
        liSi.setSalary(2000);
        liSi.setBonus(1000);
        liSi.getInformation();
        liSi.getSalary();
        liSi.getBonus();
        liSi.computeSalary();

        System.out.println();
        Woker zhangSan = new Woker();
        zhangSan.setInformation("小张", 35);
        zhangSan.setSalary(80);
        zhangSan.setDay(20);
        zhangSan.getInformation();
        zhangSan.getSalary();
        zhangSan.getDay();
        zhangSan.computeSalary();
    }
}
